package com.yykj.hospital.server.model.repository.consultation.template;

import com.yykj.hospital.server.model.entity.consultation.template.HospitalConsultation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HospitalConsultationRepository extends JpaRepository<HospitalConsultation,Integer> {
    List<HospitalConsultation> findAllByHospitalIdOrderBySorting(Integer hospitalId);
}
